package com.yswy.app.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yswy.common.wxOrder.V3.WxPayConfigV3;
import com.yswy.common.zfbOrder.ZfbKeyVo;
import com.yswy.domain.entity.WxPayKey;
import com.yswy.domain.entity.ZfbPayKey;

/**
 * @Description: 微信支付切换
 * @ClassName: WxPayService
 * @Author: Matt
 * @Date: 2020/11/11 10:18
 * @Version: 1.0
 */
public interface WxPayKeyService extends IService<WxPayKey> {

    /**0
     * @author bing
     * @Description:  轮询切换微信appid账号
     * @date 2022/3/16 12:00
     * @return: void
     */
    WxPayConfigV3 cutAppId(String  payMethod);

    /**0
     * @author bing
     * @Description:  检测当前账号是否超出付款金额
     * @date 2022/3/16 12:00
     * @return: void
     */
    boolean cashAppId(WxPayKey wxPayKey  ,String  payMethod);

    /**0
     * @author bing
     * @Description:  记录微信收款金额
     * @date 2022/3/16 12:00
     * @return: void
     */
    void recordPayMoney(Integer amount , String appId);

    /**
     * @Description:  查询支付宝
     * @date 2022/3/16 12:00
     * @return: void
     */
    WxPayConfigV3 getWxPayConfigV3(Long id  , WxPayKey wxPayKey);

}
